package com.bk.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 收藏
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Preserve implements Serializable {
    //收藏id
    private Long id;

    //收藏者id
    private Long userId;

    //收藏的帖子id
    private Long innovationId;

    //收藏时间
    private LocalDateTime createTime;

}
